
package com.proxy.parser.tree.util;

public interface JdbcConstants {

    String JTDS              = "jtds";

    String MOCK              = "mock";

    String HSQL              = "hsql";

    String DB2               = "db2";

    String DB2_DRIVER        = "COM.ibm.db2.jdbc.app.DB2Driver";

    String POSTGRESQL        = "postgresql";
    String POSTGRESQL_DRIVER = "org.postgresql.Driver";

    String SYBASE            = "sybase";

    String SQL_SERVER        = "sqlserver";
    String SQL_SERVER_DRIVER = "com.microsoft.jdbc.sqlserver.SQLServerDriver";
    String SQL_SERVER_DRIVER_SQLJDBC4 = "com.microsoft.sqlserver.jdbc.SQLServerDriver";
    String SQL_SERVER_DRIVER_JTDS = "net.sourceforge.jtds.jdbc.Driver";

    String ORACLE            = "oracle";
    String ORACLE_DRIVER     = "oracle.jdbc.OracleDriver";

    String ALI_ORACLE        = "AliOracle";
    String ALI_ORACLE_DRIVER = "com.alibaba.jdbc.AlibabaDriver";

    String MYSQL             = "mysql";
    String MYSQL_DRIVER      = "com.mysql.jdbc.Driver";
    String MYSQL_DRIVER_6    = "com.mysql.cj.jdbc.Driver";

    String MARIADB           = "mariadb";
    String MARIADB_DRIVER    = "org.mariadb.jdbc.Driver";

    String DERBY             = "derby";

    String HBASE             = "hbase";

    String HIVE              = "hive";
    String HIVE_DRIVER       = "org.apache.hive.jdbc.HiveDriver";

    String H2                = "h2";
    String H2_DRIVER         = "org.h2.Driver";

    String DM                = "dm";
    String DM_DRIVER         = "dm.jdbc.driver.DmDriver";
    
    String KINGBASE          = "kingbase";
    String KINGBASE_DRIVER   = "com.kingbase.Driver";

    String OCEANBASE         = "oceanbase";
    String OCEANBASE_DRIVER  = "com.mysql.jdbc.Driver";

    String INFORMIX          = "informix";
    
    /**
     * 阿里云odps
     */
    String ODPS              = "odps";
    String ODPS_DRIVER       = "com.aliyun.odps.jdbc.OdpsDriver";
    
    String TERADATA          = "teradata";
    String TERADATA_DRIVER   = "com.teradata.jdbc.TeraDriver";

    /**
     * Log4JDBC
     */
    String LOG4JDBC          = "log4jdbc";
    String LOG4JDBC_DRIVER   = "net.sf.log4jdbc.DriverSpy";

    String PHOENIX           = "phoenix";
    String PHOENIX_DRIVER    = "org.apache.phoenix.jdbc.PhoenixDriver";

    String ENTERPRISEDB        = "edb";
    String ENTERPRISEDB_DRIVER = "com.edb.Driver";
}
